module.exports={
    /* 使用代理 */
    devServer: {
        open: true,
        host:'0.0.0.0',
        port:8066,
        https:false,
        hotOnly:false,
        proxy: {
            '/api': {
                /* 目标代理服务器地址 */
                target: 'http://115.28.137.176:8094',
                /* 允许跨域 */
                changeOrigin: true,
                /*路径的前缀*/
                pathRewrite: {
                    '^/api': ''
                }
            },
            '/web': {
                target: 'http://115.28.137.176:8094',
                changeOrigin: true,
                /*路径的前缀*/
                pathRewrite: {
                    '^/web': ''
                }
            }
        }
    },
    pages:{
        index:{
            entry:'src/pages/index/main.js',
            template:'public/index.html',
            fileName:'index.html'
        },

        my:{
            entry:'src/pages/my/main.js',
            template:'public/my.html',//html 模板
            fileName:'my.html'//文件名
        },
        order:{
            entry:'src/pages/order/main.js',
            template:'public/order.html',//html 模板
            fileName:'order.html'//文件名
        },
        address:{
            entry:'src/pages/address/main.js',
            template:'public/address.html',//html 模板
            fileName:'address.html'//文件名
        },
        setup:{
            entry:'src/pages/setup/main.js',
            template:'public/setup.html',//html 模板
            fileName:'setup.html'//文件名
        },
        add:{
            entry:'src/pages/add/main.js',
            template:'public/add.html',//html 模板
            fileName:'add.html'//文件名
        },
        revise:{
            entry:'src/pages/revise/main.js',
            template:'public/revise.html',//html 模板
            fileName:'revise.html'//文件名
        },
        password:{
            entry:'src/pages/password/main.js',
            template:'public/password.html',//html 模板
            fileName:'password.html'//文件名
        },
        FlashSale:{
            entry:'src/pages/flashSale/main.js',
            template:'public/flashSale.html',
            filename:'flashSale.html'

        },
        cart:{
            entry:'src/pages/cart/main.js',
            template:'public/cart.html',
            filename:'cart.html'
        },
        collection:{
            entry:'src/pages/collection/main.js',
            template:'public/collection.html',
            filename:'collection.html'
        },
        cardbag:{
            entry:'src/pages/cardbag/main.js',
            template:'public/cardbag.html',
            filename:'cardbag.html'
        },
        member:{
            entry:'src/pages/member/main.js',
            template:'public/member.html',
            filename:'member.html'
        },
        hypermarket:{
            entry:'src/pages/Hypermarket/main.js',
            template:'public/hypermarket.html',
            filename:'hypermarket.html'
        },
        searchProList:{
            entry:'src/pages/searchProList/main.js',
            template:'public/searchProList.html',
            filename:'searchProList.html'
        },
        detail:{
            entry:'src/pages/detail/main.js',
            template:'public/detail.html',
            filename:'detail.html'
        },
        submit:{
            entry:'src/pages/submit/main.js',
            template:'public/submit.html',
            filename:'submit.html'
        },
        success:{
            entry:'src/pages/success/main.js',
            template:'public/success.html',
            filename:'success.html'
        },
        settle:{
            entry:'src/pages/settle/main.js',
            template:'public/settle.html',
            filename:'settle.html'

        },
		gdetail:{
		    entry:'src/pages/gdetail/main.js',
		    template:'public/gdetail.html',
		    filename:'gdetail.html'
		
		},
    }
};